package com.admin.service;

import com.admin.model.SensitiveWords;
import com.admin.model.ServiceInstance;

import java.util.List;

public interface EurekaServiceManager {

    //eureka根据服务名称获取服务列表
    List<ServiceInstance> getServiceInstancesByServiceName();

    // eureka根据元数据获取服务列表
    List<ServiceInstance> getServiceInstancesByGroupName();

    // eureka根据元信息拼装地址
    List<String> assembleServiceAddresses(List<ServiceInstance> serviceInstances);

    void performActionWithServiceInfo(List<ServiceInstance> serviceInfos, SensitiveWords sensitiveWords);
}
